package cn.lanqiao.system.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (SystemMenu)实体类
 *
 * @author david
 * @since 2024-03-20 15:13:44
 */
@Data
@Table(name = "system_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    private Integer menuId;

    private Integer pId;

    private String menuName;

    private String menuUrl;
    /**
    * 授权，多个逗号分隔所有权限例如：user:list,user:create
    */
    private String authorize;
    /**
    * 0目录，2菜单，3按钮
    */
    private String menuType;

    private String menuLogo;

    private Integer sort;

}
